package com.hkts.naturalgas.association.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hkts.naturalgas.association.entity.HktsRequestAddressAssociation;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hkts.naturalgas.dictionaries.entity.HktsEnvironmentProtectionDictionaries;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yck
 * @since 2021-10-12
 */
public interface IHktsRequestAddressAssociationService extends IService<HktsRequestAddressAssociation> {

    /**
     * 分页查询
     *
     * @param bootStrapTable
     * @param hktsRequestAddressAssociation
     * @return
     */
    IPage<HktsRequestAddressAssociation> selectPage(Page<HktsRequestAddressAssociation> page, HktsRequestAddressAssociation hktsRequestAddressAssociation);

    List<HktsRequestAddressAssociation> selectList(HktsRequestAddressAssociation hktsRequestAddressAssociation);

    Map<String,Object> getAssociations(HktsEnvironmentProtectionDictionaries hktsEnvironmentProtectionDictionaries,List<String> field,List<String> listField) ;

    void deleteData(HktsEnvironmentProtectionDictionaries hktsEnvironmentProtectionDictionaries,List<String> list);
}